<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)</TargetFrameworks>
    <TestRuntime>true</TestRuntime>
    <IncludeRemoteExecutor>true</IncludeRemoteExecutor>
    <TestDisableParallelization>true</TestDisableParallelization>
  </PropertyGroup>
  <ItemGroup Condition="'$(TargetsAppleMobile)' == 'true' or '$(TargetOS)' == 'android'">
    <RuntimeComponents Include="diagnostics_tracing" />
    <RuntimeComponents Include="marshal-ilgen" />
  </ItemGroup>
  <!-- Windows only files -->
  <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows'">
    <Compile Include="BasicEventSourceTest\Harness\EtwListener.cs" />
    <Compile Include="BasicEventSourceTest\TestEventCounter.Etw.cs" />
    <Compile Include="BasicEventSourceTest\TestsWrite.Etw.cs" />
    <Compile Include="BasicEventSourceTest\TestsUserErrors.Etw.cs" />
    <Compile Include="BasicEventSourceTest\TestsWriteEvent.Etw.cs" />
    <Compile Include="BasicEventSourceTest\FuzzyTests.Etw.cs" />
    <Compile Include="BasicEventSourceTest\TestsWriteEventToListener.Etw.cs" />
    <Compile Include="BasicEventSourceTest\TestsManifestGeneration.Etw.cs" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="BasicEventSourceTest\ActivityTracking.cs" />
    <Compile Include="BasicEventSourceTest\Harness\EventTestHarness.cs" />
    <Compile Include="BasicEventSourceTest\FuzzyTests.cs" />
    <Compile Include="BasicEventSourceTest\Harness\Listeners.cs" />
    <Compile Include="BasicEventSourceTest\TestEventCounter.cs" />
    <Compile Include="BasicEventSourceTest\TestFilter.cs" />
    <Compile Include="BasicEventSourceTest\TestNotSupported.cs" />
    <Compile Include="BasicEventSourceTest\TestShutdown.cs" />
    <Compile Include="BasicEventSourceTest\TestsEventSourceLifetime.cs" />
    <Compile Include="BasicEventSourceTest\TestsManifestGeneration.cs" />
    <Compile Include="BasicEventSourceTest\TestsManifestNegative.cs" />
    <Compile Include="BasicEventSourceTest\TestsTraits.cs" />
    <Compile Include="BasicEventSourceTest\TestsWriteEvent.cs" />
    <Compile Include="BasicEventSourceTest\TestsWriteEventToListener.cs" />
    <Compile Include="BasicEventSourceTest\EventSourceTestParser.cs" />
    <Compile Include="BasicEventSourceTest\LoudListener.cs" />
    <Compile Include="BasicEventSourceTest\TestsWrite.cs" />
    <Compile Include="BasicEventSourceTest\TestsUserErrors.cs" />
    <Compile Include="BasicEventSourceTest\TestUtilities.cs" />
    <Compile Include="BasicEventSourceTest\XUnitAssemblyAttributes.cs" />
    <!--EventSources for testing-->
    <Compile Include="CustomEventSources\EventSourceTest.cs" />
    <Compile Include="CustomEventSources\InvalidCallsToWriteEvent.cs" />
    <Compile Include="CustomEventSources\InvalidEventSources.cs" />
    <Compile Include="CustomEventSources\SimpleEventSource.cs" />
    <Compile Include="CustomEventSources\UseAbstractEventSource.cs" />
    <Compile Include="CustomEventSources\UseInterfaceEventSource.cs" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="$(TraceEventVersion)" />
  </ItemGroup>
</Project>